<template>
  <div class="header"><VGHeader /></div>
  <div class="container">
    <div class="flexbox-row">
      <div class="left"><VGSider /></div>
      <div class="right">
        <div class="flexbox-column">
          <div class="content"><VGContent /></div>
          <div class="foot"></div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
// @ is an alias to /src
import VGHeader from "../components/VGHeader.vue";
import VGSider from "../components/VGSider.vue";
import VGContent from "../components/VGContent.vue";
export default {
  name: "Home",
  components: {
    VGHeader,
    VGSider,
    VGContent,
  },
};
</script>

<style lang="scss">
.header {
  width: 100%;
  height: 40px;
}
.container {
  position: absolute;
  width: 100%;
  top: 40px;
  bottom: 0px;
  left: 0px;
}

.flexbox-row {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
}

.flexbox-column {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
}
.left {
  width: 198px;
}

.right {
  background: #000030;
  flex: 1;
}

.content {
  background: #ffffff;
  flex: 1;
}

.foot {
  background: #2c3e50;

  height: 40px;
}
</style>
